-
Notifications
You must be signed in to change notification settings - Fork 0
CROSSLINK-203 Use default schema for crosslink broker #394
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
This PR aims to make the broker use a dedicated Postgres schema (crosslink_broker) by default, and to ensure the schema exists in the local docker-compose Postgres setup.
Changes:
- Add a Postgres init script to create the
crosslink_brokerschema for local docker-compose. - Update the broker DB connection string to set
search_path=crosslink_broker. - Document the schema requirement in the root README.
Reviewed changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated 4 comments.
| File | Description |
|---|---|
| broker/init.sql | Adds SQL to create the crosslink_broker schema. |
| broker/docker-compose.yml | Mounts init.sql into Postgres init directory for local bootstrap. |
| broker/dbutil/dbutil.go | Changes connection string to force search_path=crosslink_broker. |
| README.md | Notes that the crosslink_broker schema must exist and be usable by the app user. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
Copilot reviewed 4 out of 4 changed files in this pull request and generated 3 comments.
adamdickmeiss
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
This reverts commit 0f9f410.
No description provided.